﻿using MaiPlanServer.Dto;
using MaiPlanServer.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MaiPlanServer.IServices.IMasterDataServices
{
    public interface IMaterialsProductCServices
    {
        public Task<IEnumerable<MD_ITEM_TYPEDto>> GetJsonAsync(int PageIndex, int PageSize, string typeName, string State);
        public Task<IEnumerable<MD_ITEM_TYPEDto>> GetMdTypeAllAsync();

        public Task<bool> AddAsync(MD_ITEM_TYPE model);

        public Task<bool> UpdateAsync(MD_ITEM_TYPE model);

        public Task<bool> DelAsync(string Id);

    }
}
